package org.example.ideavr.common.context;

/**
 * 线程id本地存储（ThreadLocal）
 */
public class BaseContext {
    public static ThreadLocal<Long> threadLocal = new ThreadLocal<>();
    public static void setThreadLocal(Long value) {
        threadLocal.set(value);
    }
    public static Long getThreadLocal() {
        return threadLocal.get();
    }
}
